<?php

/**
 * @author ducnhat
 * @copyright 2014
 */

/*========== SIDEBAR ===========*/
if(function_exists('register_sidebar')){
    $optionSidebar = array('name' => 'Sidebar',
                    'id' => 'sidebar',
                    'before_title' => '<div class="sidebar-title"><h2>',
                    'after_title' => '</h2></div>',
                    'before_widget' => '<div class="sidebar-container">',
                    'after_widget' => '</div>');
    
    $optionFooterWidget = array('name' => 'Footer',
                    'id' => 'footer',
                    'before_title' => '<h2 class="footer-title">',
                    'after_title' => '</h2>',
                    'before_widget' => '<section class="footer-subscribe">',
                    'after_widget' => '</section>');
    
    register_sidebar($optionSidebar);
    register_sidebar($optionFooterWidget);
}
/*========== END SIDEBAR ===========*/

?>